API Reference > OdGe Classes > OdGePoint2d Class > OdGePoint2d Operators > [] Operator > OdGePoint2d::[] Operator (unsigned int)
OdGePoint2d::[] Operator (unsigned int)
Syntax
C++
double operator [](unsigned int i) const;
Parameters 
Description 
unsigned int i 
[in] Index of coordinate. 

details References ith coordinate of this point. 

 

  • 0 references the X-coordinate.
  • 1 references the Y-coordinate.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.